﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using OnWork.Admin.Util.Base;

namespace OnWork.Admin.Base
{
    /// <summary>
    /// 基础基过滤 用于继承
    /// </summary>
    [Authorize]
    [ApiController]
    [ServiceFilter(typeof(ApiExceptionAttribute))] //异常筛选器
    [ApiResultFilter] //结果筛选器
    [ValidateModelAttribute(Order = -9999)] //模型校验
    public class BaseOnWorkController : ControllerBase
    {
    }
}